package com.me.myFramework.aop22;

import java.util.Random;

/**
 * 自己实现AOP：目标类
 *
 * @author ME
 */
public class Xbox implements IBuy {

    @Override
    public String buy(String personName) {
        System.out.println(FORMAT.format(new String[]{personName, "微软 Xbox"}));
        return "￥" + 19 + new Random().nextInt(10);
    }

}
